﻿using Apps.Common;
using Apps.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;

namespace Apps.IBLL.RC
{
    public partial interface IRC_HC_WEIGHTDETAILBLL
    {
       new List<V_RC_HC_WEIGHING_DETAIL> GetListByParentId(ref GridPager pager, string queryStr, object parentId);

       int UpdateRCTrainNumState(string firstTrainNum, string secondTrainNum);
        List<string> GetBatchCode();
    }
    public partial interface IRC_HC_WEIGHTDETAILBLL : IBaseBLL<RC_HC_WEIGHING_DETAIL>
    {
        bool Deletes(ref ValidationErrors errors, Expression<Func<RC_HC_WEIGHING_DETAIL, bool>> whereLambda);

        bool Create(ref ValidationErrors errors, List<RC_HC_WEIGHING_DETAIL> model);
    }
}
